﻿using Microsoft.AspNetCore.Routing;

namespace FrameworkCore.Mvc;

/// <summary>
/// 路由发布者接口
/// </summary>
public interface IRoutePublisher
{
    /// <summary>
    /// 注册路由
    /// </summary>
    /// <param name="endpointRouteBuilder">路由建造器</param>
    void RegisterRoutes(IEndpointRouteBuilder endpointRouteBuilder);
}
